/**
 * @author vidy3587@gmail.com
 * @date 2021-08-21
 * @param {number} delay
 */
export const sleep = (delay) => {
    return new Promise(resolve => {
        setTimeout(() => resolve(), delay)
    })
}